home *** CD-ROM | disk | FTP | other *** search
- Path: news.sinet.slb.com!bar
- From: bar@se.houston.geoquest.slb.com (Berny Rieckhoff)
- Newsgroups: comp.sys.amiga.misc
- Subject: I've forgotten, current directory char.
- Date: 17 Jan 1996 19:09:44 GMT
- Organization: GeoQuest Systems Inc. Houston
- Distribution: world
- Message-ID: <4djhho$63b@ohnasn01.sinet.slb.com>
- NNTP-Posting-Host: rmdsu3.englewood.geoquest.slb.com
- Originator: bar@rmdsu3
-
-
-
- I've seen and used it once, but I no longer remember and poking through
- the manuals, I've come up empty. I believe I once found it tin the
- Amiga 2.0 (binder) manual, but short of reading every page I haven't
- been able to come up with it.
-
- Anyway what is the character for current working directory ? Like the
- Unix '.' so one can (for example)
-
- copy dev:file ??? where ??? is the CWD
-
- like cp /dev/file .
-
- Actually what I really want is to be able to do TAR or GNUTar
- from the current directory and get only relative path names
- into the archive.
-
- ie: cd WORK:
- GnuTar cvfM dev:df0 "whatever the cahracter is"
-
- instead of GnuTar cvfM dev:df0 WORK:
-
- which produces an archive that lists as:
-
- WORK:Documents/XMass.letter...
- WORK:...etc...
-
- instead of:
-
- Documents/letter1
- Documents/letter2..
- Pictures/a.iff
- Directory/etc....
-
- Which could be restored anywhere on the system.
-
- I'd prefer not to use a workaround such as
-
- assign ARCH: `CD`
- GnuTar cvfM dev:df0 ARCH:
-
- and later
-
- assign ARCH: Place:where/archive/is/to/be/restored
- GnuTar xvf dev:df0
-
- Thanks anyone
- --
- PLEASE REPLY TO: brieckhoff@houston.geoquest.slb.com
- Bernhard Rieckhoff Sr. Geophysicist, Schlumberger-GeoQuest
- Denver, CO USA Voice (303) 486-3204 FAX (303) 694-4690
- *Opinions expressed here are unlikely to reflect those of my employer*
-